<?php
	//Database settings
	$sql_server="localhost";
	$sql_user="admin";
	$sql_pass="123456";
	$sql_database="mobileshop";
	$db=mysql_connect($sql_server,$sql_user,$sql_pass) or die ("Khong the ket noi den CSDL".mysql_error());
	mysql_select_db($sql_database) or die("CSDL khong ton tai".mysql_error());
	mysql_query("set names utf8");
	
	//user status
	define('USER_VALUE_ACTIVE','active');
	//dinh nghia chuoi ma hoa
	define('SALT_MD5','$1#abcd%efgh$');
?>